package com.wiloon.androidx.fragment;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.wiloon.androidx.R;

import org.apache.log4j.Logger;

/**
 * Created by wangyue on 8/7/2014.
 */
public class FragmentFoo extends Fragment {
    Logger logger = Logger.getLogger(FragmentFoo.class);

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        logger.debug("fragment foo onCreate");
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        logger.debug("fragment foo onCreateView");
        return inflater.inflate(R.layout.fragment_a, container, false);

    }

    @Override
    public void onPause() {
        super.onPause();
        logger.debug("fragment foo onPause");
    }
}
